From 4799d5fc4967546bcd5a472598ce4b71466c45f4 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 3 Jul 2002 09:17:35 +0000 Subject: [PATCH] (chars-in-region): Add obsolescence declaration for `chars-in-region'. --- lisp/subr.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/subr.el b/lisp/subr.el index 289aaaaf20e..94aedd0dceb 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -700,6 +700,7 @@ as returned by the `event-start' and `event-end' functions." (defalias 'sref 'aref) (make-obsolete 'sref 'aref "20.4") (make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4") +(make-obsolete 'chars-in-region "use (abs (- BEG END))." "20.3") (defun insert-string (&rest args) "Mocklisp-compatibility insert function. -- 2.30.2